@base-color:#3c6c34;
@btn-border-color:#fcff00;
@btn-border-width:4px;
@btn-space:20px;

.btn-default {
  border:@btn-border-width solid @btn-border-color;
}
.box-shadow {
  -webkit-box-shadow: -3px 3px 10px rgba(0,0,0,.3);
  -moz-box-shadow: -3px 3px 10px rgba(0,0,0,.3);
  box-shadow: -3px 3px 10px rgba(0,0,0,.3);
}

img {
  vertical-align: bottom;
}
.header {
  height: 100vh*0.25;
  background-image: url('../img/home/header-bg_02.png');
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  .logo {
    margin-left: 15px;
    padding-top: 10px;
  }
  .title {
    margin-top: 100vh*0.05;
    text-align: center;
  }
}
.btn-group {
  margin-top: 30px;
  padding: 0px @btn-space/2;
  .weui-grids {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    justify-content: space-between;
    padding: @btn-space/2;
    &:before {
      border-top: none;
      border-right: none;
    }
    &:after {
      border-left: none;
    }
    .row2 {
      justify-content: left;
      margin-top: -20px;
      .btn-box:first-child {
        margin-right: 5%;
      }
    }
    .weui-grid {
      padding: 0px;
      span {
        display: block;
        margin-bottom: @btn-space;
        &:first-child {
          .btn-default;
          .box-shadow;
          margin-bottom:10px;
          img {
            width: 100%;
          }
        }
        &:last-child {
          color: #000;
          font-size: 16px;
          font-weight: 600;
        }
      }
      &:before {
        border-right: none;
      }
      &:after {
        border-bottom: none;
      }
    }
    .btn-box {
      width: 30%;
    }
    .btn {
      width: 30%;
      margin-bottom: 20px;
      img {
        width: 100%;
      }
      .btn-default;
      .box-shadow;
    }
  }
}

.plist {
  .weui-media-box_appmsg .weui-media-box__hd {
    height: 105px;
    width: 105px;
    .box-shadow;
  }
  .weui-panel__hd {
    font-size: 16px;
    color: #333;
  }
  .weui-media-box__title {
    font-size: 16px;
    margin-bottom: 5px;
  }
  .weui-media-box__desc {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 10px;
  }
}

.form-group {
  box-shadow: 0px 0px 4px 0px rgba(170, 170, 170, 1);
  .weui-cells__title {
    font-size: 18px;
    color: #333;
    font-weight: 600;
  }
  .btn-group {
    box-sizing: border-box;
    width: 100%;
    margin-top: 10px;
    padding-bottom: 10px;
    position: fixed;
    height: 60px;
    display: flex;
    bottom: 0;
    left: 0;
    justify-content: space-between;
    button.weui-btn {
      width: 100%;
      margin: 0;
    }
    .weui-btn + .weui-btn {
      margin: 0;
    }
  }
  .weui-cells:after {
    border-bottom: none;
  }
  .vux-x-input.weui-cell {
    padding: 5px 15px;
    height: 45px;
    .weui-cell__bd {
      height: 45px;
      .weui-input {
        height: 45px;
        line-height: 45px;
      }
    }
  }
  .weui-cell__ft {
    color: #333;
  }
}
.table-box {
  padding: 0 15px;
  th {
    width: 30%;
    &:last-child {
      width: 40%;
    }
  }
  .weui-btn:after {
    border: none;
  }
  button.weui-btn_plain-default {
    border-width: 0;
  }
}
.to-buy_btn {
  button.weui-btn {
    height: 50px;
    line-height: 50px;
  }
}
